using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DevExpress.ExpressApp.DC;
using DevExpress.Persistent.Base;
using DevExpress.Persistent.BaseImpl;
using DevExpress.Xpo;
namespace Ascent.Module.BusinessObjects.Systems
{
  [DefaultClassOptions]
  [DevExpress.Persistent.Base.NavigationItemAttribute("系统管理")]
  [DevExpress.ExpressApp.DC.XafDisplayNameAttribute("店铺管理")]
  public partial class ShopStore : DevExpress.Persistent.BaseImpl.BaseObject
  {
    private System.String _remarks;
    private System.String _telphone;
    private System.String _address;
    private System.String _shopStoreName;
    public ShopStore(DevExpress.Xpo.Session session)
      : base(session)
    {
    }
    [DevExpress.ExpressApp.DC.XafDisplayNameAttribute("店铺名称")]
    public System.String ShopStoreName
    {
      get
      {
        return _shopStoreName;
      }
      set
      {
        SetPropertyValue("ShopStoreName", ref _shopStoreName, value);
      }
    }
    [DevExpress.ExpressApp.DC.XafDisplayNameAttribute("地址")]
    public System.String Address
    {
      get
      {
        return _address;
      }
      set
      {
        SetPropertyValue("Address", ref _address, value);
      }
    }
    [DevExpress.ExpressApp.DC.XafDisplayNameAttribute("联系电话")]
    public System.String Telphone
    {
      get
      {
        return _telphone;
      }
      set
      {
        SetPropertyValue("Telphone", ref _telphone, value);
      }
    }
    [DevExpress.Xpo.AssociationAttribute("Employees-ShopStore")]
    [DevExpress.ExpressApp.DC.XafDisplayNameAttribute("联系人")]
    public XPCollection<Ascent.Module.BusinessObjects.Base.Employee> Employees
    {
      get
      {
        return GetCollection<Ascent.Module.BusinessObjects.Base.Employee>("Employees");
      }
    }
    [DevExpress.ExpressApp.DC.XafDisplayNameAttribute("备注")]
    public System.String Remarks
    {
      get
      {
        return _remarks;
      }
      set
      {
        SetPropertyValue("Remarks", ref _remarks, value);
      }
    }
  }
}
